<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<div id="side">
    <ul id="nav" class="nav">
       <c:forEach items="${FUNCTIONROOTlIST }" var="func_parent" varStatus="i">
		  <c:if test="${func_parent.parentId=='0'}">
		<li class="parent-menu">
           	<h2 class="nav-hd arrow-up"><i></i>${func_parent.name }</h2>
  		 	<ul class="sub-list" id="P${func_parent.id }">
		        <c:forEach items="${FUNCTIONlIST }" var="func_child">
		        	<c:if test="${func_parent.id == func_child.parentId}">
			    <li id="C${func_child.id}"><a href="${ctx}${func_child.url}">${func_child.name}</a></li>
			        </c:if>
		        </c:forEach>
	        </ul>
		</li>
		  </c:if>
	 </c:forEach>
	</ul>
</div>
    